package com.beerandjesus.sportofkings.handicapper.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Column;
import java.math.BigDecimal;
import java.io.Serializable;

/**
 * Date: Jun 7, 2012
 * Time: 7:11:33 PM
 */
@Entity
@Table(name="leading_turf_sires")
public class TurfSireImpl implements TurfSire, Serializable {
    
    @Id
    @Column(name="name")
    private String name;
    @Column(name="percentage")
    private BigDecimal winPercentage;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getWinPercentage() {
        return winPercentage;
    }

    public void setWinPercentage(BigDecimal winPercentage) {
        this.winPercentage = winPercentage;
    }
}
